package me.olook.dubboconsumer.rest;

import me.olook.dubboconsumer.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhaohw
 * @date 2018-08-27 10:34
 */
@RestController
public class UserController {

    @Autowired
    private IUserService iUserService;

    @RequestMapping("/hello")
    public String say() {
        return iUserService.say();
    }
}
